<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
   
    <title>欢迎来到勤工助学注册页面</title> 
    <meta http-equiv="X-UA-Compatible" content="IE=8"/>
	<meta http-equiv="X-UA-Compatible" content="IE=7"/> 
	<meta http-equiv="pragma" content="no-cache">                                                                       
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<link rel="stylesheet" type="text/css" href="/stusys/css/All.css">	
    <link rel="stylesheet" type="text/css" href="/stusys/css/register.css">
	<script src="/stusys/js/jquery-1.8.0.js" type="text/javascript"></script>  
	
	<style type="text/css">
   a{
     text-decoration: none;
   }
    #ct{
   text-align: center;
      width:300px;
      height:150px;
      margin:200px auto;
      background-color:#eeeeee;
    }
   #lgtip{
     font-size:25px;
     color:red;
     width:auto;
    margin: 30px ;
    padding:30px 0 0 0 ;
   }
   #linkexit{
     padding: 0 20px 0 0px;
       display:inline;
   }
   #linkid{
     display:inline;
   }
   </style>
     </head>
  <body>
    <%@ include file ="title_login.jsp"%>
    
    <%if(name==null){ %>     
    
    <script src="js/register.js" type="text/javascript"></script> 
       
   <div id='header'>
         中大南方勤工助学部注册
   </div>
  <div id="reg">
   <form action="#" method="post">
   <div class="regcontent">  
    <div   class="info_list">
     <div class="lb"><span style="color: red">*</span>用户名：</div>
     <div id="user_ip"><input type="text" class="reginput" name="userid" id="ip1" maxlength="20"><span class="cue">用户名格式不对！</span>
     <span class="cue" id="exist">用户已经存在！</span></div> 
     <div class="online">（6-20位字母、数字或下划线组合，首字符必须为字母。） </div>
    </div>
    <div class="info_list">
     <div class="lb"><span style="color: red">*</span>密码：</div>
     <div id="pw_ip"><input type="password" class="reginput" name="password" id="ip2" maxlength="50"><span class="cue">密码格式不对！</span></div> 
     <div  class="online">（不低于六位数）</div> 
    </div>
    <div  class="info_list"> 
     <div class="lb"><span style="color: red">*</span>确认密码：</div>
     <div id="pw_affim_ip"><input type="password" class="reginput" name="pw_affim" id="ip3" maxlength="50"><span class="cue">与第一次密码不相符！</span></div> 
    </div>
    <div  class="info_list">
     <div class="lb"><span style="color: red">*</span>性别：</div>
     <div id="sex" >
      <input type="radio" id="male"name="gender" value="male" checked="checked"/>男
       <input type="radio" id="female"name="gender" value="female"/>女
     </div>
    </div>
    <div  class="info_list">
      <div class="lb"><span style="color: red">*</span>邮箱地址：</div>
      <div id="email_ip"><input type="text" class="reginput" name="email" id="ip4"/><span class="cue">邮箱地址格式不对！</span></div>
      <div  class="online">邮箱用于找回密码！</div>
    </div>
    <div  class="info_list">
      <div id="id1"> <input type="text" id="inputvrty" name="vrtyip" maxlength="4"/></div>
      <div id="id2">
        <img src="createverity.jsp" id="vrtyimg"/><a href="javascript:void(0);" id="getvrty" ><span>换张图片</span></a>  
        <span id="verityerror" style="color: red " class="cue">验证码错误!</span>      
      </div>     
    </div>
    <div class="info_list">  
      <div id="regbg"><div id="regging">reg..</div><a href="javascript:void(0);" id="regsubmit">注册</a></div>
    </div>    
    </div>
    </form>
   </div><!-- id=reg -->
   <%} else
   { %>
   
     <div id="ct">
       <div id="lgtip"> 你已经登录了  </div>
       <div id="linkexit">注册请<a href="servlet/Exit" style="color:#cf4646">退出</a></div>
       <div id="linkid">返回<a href="index.jsp" style="color:#cf4646">首页</a></div>
    </div>
 <%} %>
   
  </body>
</html>
